package com.zhs.gccs.view.taskMap;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.zhs.gccs.R;
import com.zhs.gccs.view.BaseView;

public class LegendGroupView extends BaseView {
    private View ll_item;
    private ImageView img;
    private TextView txt;
    public LegendGroupView(@NonNull Context context) {
        super(context);
    }

    public LegendGroupView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public LegendGroupView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public void init(Context context, AttributeSet attrs, int defStyleAttr) {
        View view = LayoutInflater.from(context).inflate(R.layout.layout_view_legend_group,
                this, true);
        ll_item = view.findViewById(R.id.ll_item);
        img = view.findViewById(R.id.img);
        txt = view.findViewById(R.id.txt);

    }
}
